/**
 * @project cf-esper-monitor
 * @file receiveData.java
 * @package com.mindai.esper.monitor.inputadapters.rest
 * @date 2017年8月11日下午5:08:03
 * @copyright 民加科风信息技术有限公司
 */

package com.mindai.esper.monitor.service;

import com.mindai.common.model.ResultData;
import com.mindai.esper.monitor.facade.api.IEsperMonitorApi;
import com.mindai.esper.monitor.inputadapters.model.RequestData;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/v1")
public class ReceiveDataService implements IEsperMonitorApi<RequestData, ResultData> {

    @Override
    @ApiOperation(value = "接收数据")
    @PostMapping("/receiveData")
    public ResultData dealFacadeRequest(@RequestBody RequestData request) {
        return null;
    }
}
